<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of EContests
 *
 * @author andrea
 */
class EContests_vidwiz extends Entity_vidwiz{
    
    public $id;
    public $startDate;
    public $stopDate;
    public $description;
    public $title;
    public $status;
    public $ratingDuration;
    public $winnerSelection;
    public $uploadDuration;
    public $contestType;
    public $page_id;
    
    public function generateObject( $fields ) {
        foreach($this as $key => $value){
            if(isset($fields[$key]))
                $this->$key = $fields[$key];
                }
        $this->id = "";
        $this->status = "announced";
        return $this;
    } // end of member function generateObject

    
}

?>
